home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmPhone
- Caption = "Directory"
- ClientHeight = 1935
- ClientLeft = 1275
- ClientTop = 1620
- ClientWidth = 2400
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1935
- ScaleWidth = 2400
- Begin VB.PictureBox picNumbers
- Height = 975
- Left = 120
- ScaleHeight = 915
- ScaleWidth = 2115
- TabIndex = 1
- Top = 840
- Width = 2175
- End
- Begin VB.CommandButton cmdDisplay
- Caption = "Display Phone Numbers"
- Height = 495
- Left = 120
- TabIndex = 0
- Top = 120
- Width = 2175
- End
- Attribute VB_Name = "frmPhone"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdDisplay_Click()
- Dim nom As String, phoneNum As String
- picNumbers.Cls
- Open App.Path & "\PHONE.TXT" For Input As #1
- Do While Not EOF(1)
- Input #1, nom, phoneNum
- picNumbers.Print nom, phoneNum
- Loop
- Close #1
- End Sub
-